/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.dao;

import cc.altius.model.AppZone;
import cc.altius.model.City;
import cc.altius.model.MasterZone;
import cc.altius.model.Zone;
import java.util.List;
import java.util.Map;

/**
 *
 * @author santosh
 */
public interface ZoneDao {

    public List<City> getCityList();

    public int addMasterZone(MasterZone masterZone);

    public List<MasterZone> getMasterZoneList();

    public int updateMasterZone(MasterZone masterZone);

    public MasterZone getMasterZoneById(int masterZoneId);
    
    public MasterZone getMasterZoneByMasterZoneCode(String masterZoneCode);

    public int addZone(Zone zone);

    public List<Zone> getZoneList();

    public Zone getZoneById(int zoneId);
    
    public Zone getZoneByZoneName(String zoneName,String zoneCode);

    public int updateZone(Zone zone);

    public List<Zone> listZoneForAutocomplete(String zoneName);

    public List<Map<String, Object>> getFilterMasterZone(int stateId, int cityId);

    public List<Map<String, Object>> getFilterZone(int stateId, int cityId, int masterZoneId);
    
    public List<AppZone> getAppZoneList();
}
